package com.netx.data;
import java.sql.SQLException;
import java.text.DateFormat;



public interface DatabaseDriver {

	public String getJdbcDriverName();
	public String getNativeBoolean();
	public String getNativeByte();
	public String getNativeShort();
	public String getNativeInt();
	public String getNativeLong();
	public String getNativeFloat();
	public String getNativeDouble();
	public String getNativeText(int length);
	public String getNativeBinary(int length);
	public String getNativeDate();
	public String getNativeTime();
	public DateFormat getDateTimeFormat();
	public DateFormat getDateFormat();
	public DateFormat getTimeFormat();
	public boolean isMalformedQueryException(SQLException sqle);
	public boolean isDatabaseFailureException(SQLException sqle);
	public boolean isConstraintException(SQLException sqle);
	public void initConstraintException(ConstraintException ce, Field[] sentFields, Object[] sentValues);

}
